package com.zhongkun.datahome.service.req.cmd.appointment;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: MinKun
 * @Date: Created in 2025/6/26
 * @Description:
 */
@Data
public class AppointmentTimeSlotCmd {

    private Long id;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date appointmentDate;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 最大名额数
     */
    private Integer maxSlots;

    /**
     * 当前已预约数
     */
    private Integer currentSlots;

    private Boolean myAppointment = false;

    private List<AppointmentRecordViewCmd> records;
}
